<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>集合操作符</title>
</head>
<body>
    <h2>这是in操作符</h2>
    {% if test in alist %}
        <div>test值为真</div>
    {% else %}
        <div>test值为假</div>
    {% endif %}
    <hr>
</body>
</html>